package dataObjects;

import logicGuiConnection.Actor;
import logicGuiConnection.Role;

public class RoleImp implements Role{
	private MovieImp movie;
	private Actor actor;
	private String role;
	
	
	/*constructor*/
	
	public RoleImp(MovieImp movie,ActorImp actor, String role){
		this.movie = movie;
		this.actor = actor;
		this.role = role;
	}
	
	
	/*getters*/
	
	public MovieImp getMovie(){
		return movie;
	}
	
	public Actor getActor(){
		return actor;
	}
	
	public String getRole(){
		return role;
	}

	
	/*setters*/
	
	public void setMovie(MovieImp mo){
		this.movie = mo;
	}
	
	public void setActor(ActorImp ac){
		this.actor = ac;
	}
	
	public void setRoleName(String role){
		this.role = role;
	}
}
